Optimal. Leaf size=88 \[ \frac{\sqrt{e} \tanh ^{-1}\left (\frac{\sqrt{b} \sqrt{e x}}{\sqrt{a} \sqrt{e}}\right )}{\sqrt{a} b^{3/2} c}-\frac{\sqrt{e} \tan ^{-1}\left (\frac{\sqrt{b} \sqrt{e x}}{\sqrt{a} \sqrt{e}}\right )}{\sqrt{a} b^{3/2} c} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.0470194, antiderivative size = 88, normalized size of antiderivative = 1., number of steps used = 5, number of rules used = 5, integrand size = 26, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.192, Rules used = {73, 329, 298, 205, 208} \[ \frac{\sqrt{e} \tanh ^{-1}\left (\frac{\sqrt{b} \sqrt{e x}}{\sqrt{a} \sqrt{e}}\right )}{\sqrt{a} b^{3/2} c}-\frac{\sqrt{e} \tan ^{-1}\left (\frac{\sqrt{b} \sqrt{e x}}{\sqrt{a} \sqrt{e}}\right )}{\sqrt{a} b^{3/2} c} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 73
Rule 329
Rule 298
Rule 205
Rule 208
Rubi steps
\begin{align*} \int \frac{\sqrt{e x}}{(a+b x) (a c-b c x)} \, dx &=\int \frac{\sqrt{e x}}{a^2 c-b^2 c x^2} \, dx\\ &=\frac{2 \operatorname{Subst}\left (\int \frac{x^2}{a^2 c-\frac{b^2 c x^4}{e^2}} \, dx,x,\sqrt{e x}\right )}{e}\\ &=\frac{e \operatorname{Subst}\left (\int \frac{1}{a e-b x^2} \, dx,x,\sqrt{e x}\right )}{b c}-\frac{e \operatorname{Subst}\left (\int \frac{1}{a e+b x^2} \, dx,x,\sqrt{e x}\right )}{b c}\\ &=-\frac{\sqrt{e} \tan ^{-1}\left (\frac{\sqrt{b} \sqrt{e x}}{\sqrt{a} \sqrt{e}}\right )}{\sqrt{a} b^{3/2} c}+\frac{\sqrt{e} \tanh ^{-1}\left (\frac{\sqrt{b} \sqrt{e x}}{\sqrt{a} \sqrt{e}}\right )}{\sqrt{a} b^{3/2} c}\\ \end{align*}
Mathematica [A] time = 0.0191914, size = 63, normalized size = 0.72 \[ \frac{\sqrt{e x} \left (\tanh ^{-1}\left (\frac{\sqrt{b} \sqrt{x}}{\sqrt{a}}\right )-\tan ^{-1}\left (\frac{\sqrt{b} \sqrt{x}}{\sqrt{a}}\right )\right )}{\sqrt{a} b^{3/2} c \sqrt{x}} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A] time = 0.01, size = 59, normalized size = 0.7 \begin{align*} -{\frac{e}{bc}\arctan \left ({b\sqrt{ex}{\frac{1}{\sqrt{aeb}}}} \right ){\frac{1}{\sqrt{aeb}}}}+{\frac{e}{bc}{\it Artanh} \left ({b\sqrt{ex}{\frac{1}{\sqrt{aeb}}}} \right ){\frac{1}{\sqrt{aeb}}}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F(-2)] time = 0., size = 0, normalized size = 0. \begin{align*} \text{Exception raised: ValueError} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A] time = 2.17487, size = 406, normalized size = 4.61 \begin{align*} \left [\frac{2 \, \sqrt{\frac{e}{a b}} \arctan \left (\frac{\sqrt{e x} a \sqrt{\frac{e}{a b}}}{e x}\right ) + \sqrt{\frac{e}{a b}} \log \left (\frac{b e x + 2 \, \sqrt{e x} a b \sqrt{\frac{e}{a b}} + a e}{b x - a}\right )}{2 \, b c}, -\frac{2 \, \sqrt{-\frac{e}{a b}} \arctan \left (\frac{\sqrt{e x} a \sqrt{-\frac{e}{a b}}}{e x}\right ) - \sqrt{-\frac{e}{a b}} \log \left (\frac{b e x - 2 \, \sqrt{e x} a b \sqrt{-\frac{e}{a b}} - a e}{b x + a}\right )}{2 \, b c}\right ] \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [A] time = 1.80953, size = 173, normalized size = 1.97 \begin{align*} \begin{cases} - \frac{\sqrt{e} \sqrt{x}}{a b c} + \frac{\sqrt{e} \operatorname{acoth}{\left (\frac{\sqrt{a}}{\sqrt{b} \sqrt{x}} \right )}}{\sqrt{a} b^{\frac{3}{2}} c} + \frac{\sqrt{e} \operatorname{atan}{\left (\frac{\sqrt{a}}{\sqrt{b} \sqrt{x}} \right )}}{\sqrt{a} b^{\frac{3}{2}} c} & \text{for}\: \frac{\left |{a}\right |}{\left |{b}\right | \left |{x}\right |} > 1 \\- \frac{\sqrt{e} \sqrt{x}}{a b c} + \frac{\sqrt{e} \operatorname{atan}{\left (\frac{\sqrt{a}}{\sqrt{b} \sqrt{x}} \right )}}{\sqrt{a} b^{\frac{3}{2}} c} + \frac{\sqrt{e} \operatorname{atanh}{\left (\frac{\sqrt{a}}{\sqrt{b} \sqrt{x}} \right )}}{\sqrt{a} b^{\frac{3}{2}} c} & \text{otherwise} \end{cases} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A] time = 1.26176, size = 82, normalized size = 0.93 \begin{align*} -\frac{\arctan \left (\frac{b \sqrt{x} e^{\frac{1}{2}}}{\sqrt{-a b e}}\right ) e}{\sqrt{-a b e} b c} - \frac{\arctan \left (\frac{b \sqrt{x}}{\sqrt{a b}}\right ) e^{\frac{1}{2}}}{\sqrt{a b} b c} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]